<?php

namespace App\Controller\App;

use App\Base\BaseController;
use App\Base\BaseController4App;
use App\Model\GradeCategoryModel;
use App\Model\LazyCommon\CCM;
use App\Model\LazyCommon\RulesModel;
use App\Model\LazyCommon\UserModel;
use App\Model\SubjectModel;
use App\BaseExt\JPush;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;

/**
 * @route("/app")
 */
class JpushController extends BaseController
{

    /**
     * @route("/test_push",name="AppTestPush")
     */
    public function AppTestPush()
    {
        $JPush = new JPush();
        $rst = $JPush->pushToOneUser(6,"ttt","ccc");
        var_dump($rst);
    }

}
